<#ftl encoding="UTF-8" />
            <!-- 调达表信息 -->
            <div id="panelTop" style="position:relative; height:28px;">
                <div id="btnPanel_01" style="position:absolute; display:inline-block; top:5px; left: 8px; width:auto; padding:0px;">
                    <button type="button" name="_ButClose" id="ButClose" class="act__button" onclick="closePopupWnd();"><i class="fa-all fa-1x fa-close" style="margin-right:5px;"></i>关闭</button>
                    <span id="search_btn_01" class="search__icon" title="搜索" style="cursor:pointer;">
                        <i class="fa fa-search" style="font-size:20px; position:absolute; top:1px; left:105px;"></i>
                    </span>
                    <span style="position:absolute; left:260px; height:25px; line-height:25px; width:100px; font-weight:bold;">
                        全选： <input type="checkbox" class="checkbox" id="SelectAllHeader" name="_SelectAllHeader" onclick="_InstancePageHeader.SetSelectHeaderStatus();" />
                    </span>
                </div>
            </div>
            <!-- 数据列表区域 -->
            <div id="grid__wrapper" style="position:relative; top:3px; left:8px; margin-right:8px;">
                <table style="width:100%;">
                    <tr>
                        <td style="overflow:hidden; width:586px;">
                            <div id="divH1" style="overflow:hidden; border:none;">
                                <table id="tabHeader01" class="layout display" style="width:100%;">
                                    <colgroup>
                                        <col style="width: 27px;" />
                                        <col style="width: 330px;" />
                                        <col style="width: 160px;" />
                                        <col style="width: 68px;" />
                                        <!--col style="width: 35px;" /-->
                                    </colgroup>
                                    <thead>
                                        <tr>
                                            <th style="text-align:center;">
                                                <label class="btn" for="checkall-header" style="margin-left:3px;">
                                                    <input id="checkall-header" type="checkbox" onclick="_InstancePageHeader.DoCheckAll($(this),'_check_row_header');" /><i></i><span></span>
                                                </label>
                                            </th>
                                            <th>款号</th>
                                            <th>品名</th>
                                            <th style="text-align:center;">类型</th>
                                            <!--th style="text-align:center;">采购</th-->
                                        </tr>
                                    </thead>
                                </table>
                            </div>
                        </td>
                        <td>
                            <div id="divH2" style="overflow:hidden; border-right:1px solid #a8a8a8;">
                                <table id="tabHeader02" class="layout display" style="margin-left:-1px; border-left:none; width:100%;">
                                    <colgroup>
                                        <col style="width:120px;" />                                    
                                        <col style="width:160px;" />
                                        <col style="width:90px;" />
                                        <col style="width:80px;" />
                                        <col style="width:80px;" />
                                        <col style="width:80px;" />
                                        <col style="width:80px;" />
                                        <col style="width:90px;" />
                                        <col style="width:400px;" />
                                    </colgroup>
                                    <thead>
                                        <tr>
                                            <th>客户名称</th>
                                            <th>合同号</th>
                                            <th>数量</th>
                                            <th>贸易担当</th>
                                            <th>设计担当</th>
                                            <th>单耗员</th>
                                            <th>制表人</th>
                                            <th>制表日期</th>
                                            <th style="border-right:none;">备注</th>
                                        </tr>
                                    </thead>
                                </table>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td style="vertical-align:top; width:586px;">
                            <div id="divD1" class="grid__data_wrapper" style="border:none; border-bottom:1px solid #c6c3bd; overflow:hidden;">
                                <table id="tabData01" class="responsive__table" style="margin-top:-1px;">
                                    <colgroup>
                                        <col style="width: 27px;" />
                                        <col style="width: 330px;" />
                                        <col style="width: 160px;" />
                                        <col style="width: 68px;" />
                                    </colgroup>
                                    <tbody></tbody>
                                </table>
                            </div>
                        </td>
                        <td style="vertical-align:top;">
                            <div id="divD2" class="grid__data_wrapper" onscroll="_InstancePageHeader.ScrollTo();">
                                <table id="tabData02" class="responsive__table" style="border-bottom:1px solid #c6c3bd; margin-top:-1px; margin-left:-1px; width:100%;">
                                    <colgroup>
                                        <col style="width:120px;" />                                    
                                        <col style="width:160px;" />
                                        <col style="width:90px;" />
                                        <col style="width:80px;" />
                                        <col style="width:80px;" />
                                        <col style="width:80px;" />
                                        <col style="width:80px;" />
                                        <col style="width:90px;" />
                                        <col style="width:400px;" />
                                    </colgroup>
                                    <tbody></tbody>
                                </table>
                            </div>
                        </td>
                    </tr>
                </table>
                <div id="wrapper__navbar" class="panel__nav_strip" style="margin-right:8px;">
                    <div style="position:relative; display:inline-block; padding:0px; height:30px; line-height:30px;">
                        <span id="loading__indicator"><i class="fa fa-refresh fa-fw"></i></span>
                        <span id="page-first" class="p_first arrow page-first" data-action="first">首页</span>
                        <span id="page-previous" class="p_previous arrow page-previous" data-action="previous">上一页</span>
                        <abbr id="page_indicator_block" class="page_indicator_block" _msh_page="1" style="margin:0 10px; width:40px;">1 of 7</abbr>
                        <span id="page-next" class="p_next arrow page-next" data-action="next">下一页</span>
                        <span id="page-last" class="p_last arrow page-last" data-action="last">尾页</span>
                        <input type="text" id="curr-page" class="curr-page" style="margin-left:15px; width:36px;" />
                        <input type="button" name="btn_goto" id="but_goto" value="跳转" class="act__button page-goto" onclick="" />
                    </div>
                </div>
            </div>
            <div id="btn_panel_02_02" style="position:relative; top:35px; padding:0px 8px;">
                <button type="button" id="ButOk" class="act__button" onclick="OnMultiChoice();"><i class="fa-all fa-1x fa-check" style="margin-right:5px;"></i>确定</button>
                <span id="search_btn_02" class="search__icon" title="搜索" style="cursor:pointer;">
                    <i class="fa fa-search" style="font-size:20px; position:absolute; top:1px; left:115px;"></i>
                </span>
                <span style="position:absolute; left:260px; height:25px; line-height:25px; font-weight:bold;">
                    全选： <input type="checkbox" class="checkbox" id="SelectAll" name="_SelectAll" onclick="_InstancePageLines.SetSelectLinesStatus();" />
                </span>
                <span style="position:absolute; left:365px; height:25px; line-height:25px; font-weight:bold;">
                    引入条件（按使用部分区分）： <input type="checkbox" class="checkbox" id="SeparateFlagByPartOfNeed" name="_SeparateFlagByPartOfNeed" />
                </span>
                <span id="title_mrp_lines" style="position:absolute; right:8px; height:25px; line-height:25px; font-weight:bold;">
                    ■ 调达表明细
                </span>
            </div>
            <div id="grid__wrapper_02" style="position:relative; top:32px; padding:0 8px;">
                <table style="width:100%;">
                    <tr>
                        <td style="overflow:hidden; width:957px;">
                            <div id="divH21" style="overflow:hidden; border:none;">
                                <table id="tabHeader21" class="layout display" style="width:100%;">
                                    <colgroup>
                                        <col style="width: 27px;" />
                                        <col style="width: 330px;" />
                                        <col style="width: 160px;" />
                                        <col style="width: 160px;" />
                                        <col style="width: 80px;" />
                                        <col style="width: 200px;" />
                                    </colgroup>
                                    <thead>
                                        <tr>
                                            <th style="text-align:center;">
                                                <label class="btn" for="checkall-lines" style="margin-left:3px;">
                                                    <input id="checkall-lines" type="checkbox" onclick="_InstancePageLines.DoCheckAll($(this),'_check_row_lines');" /><i></i><span></span>
                                                </label>
                                            </th>
                                            <th class="sort__column">款号</th>
                                            <th class="sort__column">材料名</th>
                                            <th class="sort__column">材料号</th>
                                            <th>供应商</th>
                                            <th>用料部位</th>
                                        </tr>
                                    </thead>
                                </table>
                            </div>
                        </td>
                        <td>
                            <div id="divH22" style="overflow:hidden; border-right:1px solid #a8a8a8;">
                                <table id="tabHeader22" class="layout display" style="margin-left:-1px; border-left:none; width:100%;">
                                    <colgroup>
                                        <col style="width: 125px;" />
                                        <col style="width: 42px;" />
                                        <col style="width: 100px;" />
                                        <col style="width: 90px;" />
                                        <col style="width: 180px;" />
                                        <col style="width: 55px;" />
                                        <col style="width: 55px;" />
                                        <col style="width: 35px;" />
                                        <col style="width: 55px;" />
                                        <col style="width: 80px;" />
                                        <col style="width: 70px;" />
                                        <col style="width: 70px;" />
                                        <col style="width: 400px;" />
                                    </colgroup>
                                    <thead>
                                        <tr>
                                            <th>成品色</th>
                                            <th style="text-align:center;">成品码</th>
                                            <th class="sort__column">材料色</th>
                                            <th>净幅</th>
                                            <th>毛幅</th>
                                            <th style="text-align:center;">工厂用量</th>
                                            <th style="text-align:center;">套裁用量</th>
                                            <th style="text-align:center;">单位</th>
                                            <th style="text-align:center;">成品数量</th>
                                            <th>需求量</th>
                                            <th>库存数</th>
                                            <th>补给数</th>
                                            <th style="border-right:none;">备注</th>
                                        </tr>
                                    </thead>
                                </table>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td style="vertical-align:top; width:957px;">
                            <div id="divD21" class="grid__data_wrapper" style="border:none; overflow:hidden;">
                                <table id="tabData21" class="responsive__table" style="border-bottom:1px solid #c6c3bd; margin-top:-1px;">
                                    <colgroup>
                                        <col style="width: 27px;" />
                                        <col style="width: 330px;" />
                                        <col style="width: 160px;" />
                                        <col style="width: 160px;" />
                                        <col style="width: 80px;" />
                                        <col style="width: 200px;" />
                                    </colgroup>
                                    <tbody>
                                    </tbody>
                                </table>
                            </div>
                        </td>
                        <td style="vertical-align:top;">
                            <div id="divD22" class="grid__data_wrapper" onscroll="_InstancePageLines.ScrollTo();">
                                <table id="tabData22" class="responsive__table" style="border-bottom:1px solid #c6c3bd; margin-top:-1px; margin-left:-1px; width:100%;">
                                    <colgroup>
                                        <col style="width: 125px;" />
                                        <col style="width: 42px;" />
                                        <col style="width: 100px;" />
                                        <col style="width: 90px;" />
                                        <col style="width: 180px;" />
                                        <col style="width: 55px;" />
                                        <col style="width: 55px;" />
                                        <col style="width: 35px;" />
                                        <col style="width: 55px;" />
                                        <col style="width: 80px;" />
                                        <col style="width: 70px;" />
                                        <col style="width: 70px;" />
                                        <col style="width: 400px;" />
                                    </colgroup>
                                    <tbody>
                                    </tbody>
                                </table>
                            </div>
                        </td>
                    </tr>
                </table>
                <div id="wrapper__navbar_02" class="panel__nav_strip">
                    <div style="position:relative; display:inline-block; padding:0px; height:30px; line-height:30px;">
                        <span id="loading__indicator_02"><i class="fa fa-refresh fa-fw"></i></span>
                        <span id="page-first_02" class="p_first arrow page-first" data-action="first">首页</span>
                        <span id="page-previous_02" class="p_previous arrow page-previous" data-action="previous">上一页</span>
                        <abbr id="page_indicator_block_02" class="page_indicator_block" _msh_page="1" style="margin:0 10px; width:40px;">1 of 7</abbr>
                        <span id="page-next_02" class="p_next arrow page-next" data-action="next">下一页</span>
                        <span id="page-last_02" class="p_last arrow page-last" data-action="last">尾页</span>
                        <input type="text" id="curr-page_02" class="curr-page" style="margin-left:15px; width:36px;" />
                        <input type="button" name="btn_goto" id="but_goto_02" value="跳转" class="act__button page-goto" onclick="" />
                    </div>
                </div>
            </div>

            <!-- 搜索画面 -->
            <div id="search_01" class="search">
                <div class="search__modal">
                    <div class="search__content search__form">
                        <div class="search__form_header">
                            <h2>设置搜索条件</h2>
                            <div id="search__form_butclose">
                                <span title="关闭">×</span>
                            </div>
                        </div>
                        <form id="form_search">
                            <table>
                                <colgroup>
                                    <col style="width: 110px;" />
                                    <col />
                                </colgroup>
                                <tbody>
                                    <tr>
                                        <td class="td__label"><label class="form__label">下达日期</label></td>
                                        <td>
                                            <input type="text" id="Begin" name="_Begin" style="width:90px;" tabindex="1" />
                                            至
                                            <input type="text" id="End" style="width:90px;" tabindex="2" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="td__label"><label class="form__label">合同号</label></td>
                                        <td>
                                            <input type="text" id="ContractNoFilterValue" name="_ContractNoFilterValue" style="width:60%;" tabindex="5" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="td__label"><label class="form__label">款号</label></td>
                                        <td>
                                            <input type="text" id="StyleNoFilterValue" name="_StyleNoFilterValue" style="width:60%;" tabindex="6" />
                                        </td>
                                    </tr>
                                   <tr>
                                       <td class="td__label"><label class="form__label">调达表类型</label></td>
                                       <td>
                                           <select id="BillTypeFilterValue" name="_BillTypeFilterValue" tabindex="7" style="width:100px;"">
                                               <option value="-1">-- 全部 --</option>
                                               <option value="0">提前组料单</option>
                                               <option value="1">定版调达表</option>
                                               <option value="2">辅资材调达表</option>
                                           </select>
                                       </td>
                                   </tr>
                                </tbody>
                            </table>
                            <div id="search-strip">
                                <input type="button" name="_but_filter_01" value="搜索" id="but_filter" class="act__button filter" tabindex="8" onclick="_InstancePageHeader.Search();"/>
                                <input type="button" name="_but_filter_all_01" value="显示全部" id="but_filter_all" class="act__button" tabindex="9" onclick="_InstancePageHeader.FetchAll();"/>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
            <!-- 对引入的调达表明细进行搜索 -->
            <div id="search_02" class="search">
                <div class="search__modal">
                    <div class="search__content search__form">
                        <div class="search__form_header">
                            <h2>设置搜索条件</h2>
                            <div id="search__form_butclose_02">
                                <span title="关闭">×</span>
                            </div>
                        </div>
                        <form id="form_search_02">
                            <table>
                                <colgroup>
                                    <col style="width: 110px;" />
                                    <col />
                                </colgroup>
                                <tbody>
                                    <tr>
                                        <td class="td__label"><label class="form__label">款号</label></td>
                                        <td>
                                            <input type="text" id="StyleNoFilterValue_02" name="_StyleNoFilterValue_02" style="width:80%;" tabindex="1" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="td__label"><label class="form__label">料号</label></td>
                                        <td>
                                            <input type="text" id="MaterialNoFilterValue_02" name="_MaterialNoFilterValue_02" style="width:50%;" tabindex="2" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="td__label"><label class="form__label">料名</label></td>
                                        <td>
                                            <input type="text" id="MaterialNameFilterValue_02" name="_MaterialNameFilterValue_02" style="width:50%;" tabindex="3" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="td__label"><label class="form__label">供应商</label></td>
                                        <td>
                                            <input type="text" id="SupplierNameFilterValue_02" name="_SupplierNameFilterValue_02" style="width:50%;" tabindex="4" />
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                            <div id="search-strip_02">
                                <input type="button" name="_but_filter_02" value="搜索" id="but_filter_02" class="act__button filter" tabindex="5" onclick="_InstancePageLines.Search();"/>
                                <input type="button" name="_but_filter_all_02" value="显示全部" id="but_filter_all_02" class="act__button" tabindex="6" onclick="_InstancePageLines.FetchAll();"/>
                            </div>
                        </form>
                    </div>
                </div>
            </div>